import request from '@/utils/request'

const api = {
  reports: '/reports/'
}

export function getReports(type) {
  return request({
    url: `${api.reports}${type}`,
    method: 'get',
    cache: true
  })
}
